<div class="main_top">
  <nz-date-picker [(ngModel)]="startDate" nzPlaceHolder="请输入开始日期"></nz-date-picker>
  &nbsp;-&nbsp;
  <nz-date-picker [(ngModel)]="endDate" nzPlaceHolder="请输入结束日期"></nz-date-picker>
  &nbsp;&nbsp;&nbsp;&nbsp;
  <button nz-button nzType="primary"><i nz-icon nzType="search"></i>搜索</button>
</div>
<div>
  <nz-table
    [nzData]="listData"
    [nzFrontPagination]="false"
    [nzTotal]="total"
    [nzPageIndex]="pageIndex"
    [nzPageSize]="pageSize"
    [nzPaginationPosition]="'top'"
    (nzQueryParams)="onQueryParamsChange($event)">
    <thead>
    <tr>
      <th nzWidth="400px">标题/类型</th>
      <th>舆情类型</th>
      <th>舆情关键词</th>
      <th>舆情网站</th>
      <th>发现时间</th>
      <th>帖子时间</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of listData">
      <td>{{ data.title }}</td>
      <td>{{ data.type }}</td>
      <td>{{ data.keyword }}</td>
      <td>{{ data.site }}</td>
      <td>{{ data.update_time }}</td>
      <td>{{ data.add_time }}</td>
    </tr>
    </tbody>
  </nz-table>
</div>
